package com.wulijie.interpreter;

import java.util.HashMap;

/**
 * @Author cui
 * @Data
 */
public class Client {
    public static void main(String[] args) {
        String exp = "a+b";
        HashMap<String, Integer> map = new HashMap<>();
        map.put("a", 1);
        map.put("b", 2);

        Calculator calculator = new Calculator(exp);
        System.err.println(calculator.run(map));
    }
}
